<div class="content">
	<ul class="breadcrumb">
		<li><i class="fa fa-home"></i>
			<li>信息维护</li>
		</li>
		<li>结算标准</li>
	</ul>
	<div class="box">
		<div class="filterForm">
			<ul class="clearfix">
				<li>单位名称：<input type="text" placeholder="请输入单位名称" ng-model="data.instName"></li>
				<li>工种名称：<input type="text" placeholder="请输入工种名称" ng-model="data.workTypeName"></li>
				<li><button type="button" class="searchbtn" ng-click="query()" ng-if="ops['O_SETTLE_QUERY']"><i class="fa fa-search"></i>&nbsp查询</button></li>
				<li><button type="button" class="addbtn" ng-click="add()" ng-if="ops['O_SETTLE_ADD']"><i class="fa fa-plus"></i>&nbsp新增</button></li>
			</ul>
		</div>
		<div class="signList">
			
			<table class="tablelist">
				<thead>
					<tr>
						<th class="cell-number">单位名称</th>
						<th class="cell-number">工种名称</th>
						<th class="cell-number">结算比例</th>
						<th class="cell-number">状态</th>
						<th class="cell-number">创建时间</th>
						<th class="cell-number">修改时间</th>
						<th class="cell-con">操作</th>
					</tr>
				</thead>
				<tbody>
					<tr ng-repeat="item in settleList">
						<td class="cell-number">{{item.instName}}</td>
						<td class="cell-number">{{item.workTypeName}}</td>
						<td class="cell-number">{{item.settleRatio}}</td>
						<td class="cell-number">{{item.settleStatus |UseStatusFilter}}</td>
						<td class="cell-number">{{item.createTime| date:'yyyy-MM-dd HH:mm:ss'}}</td>
						<td class="cell-number">{{item.modifyTime| date:'yyyy-MM-dd HH:mm:ss'}}</td>
						<td class="cell-con">
							<button type="button" class="btn btn-primary" ng-click="edit(item)" ng-if="!item.fixed && ops['O_SETTLE_EDIT']">
								<i class="fa fa-pencil-square-o fa-lg"></i>&nbsp编辑
							</button>
							<button type="button" class="btn btn-danger" ng-click="disable(item.id)" ng-if="item.settleStatus==1 && ops['O_SETTLE_STATUS_CTRL']">
								<i class="fa fa-lock"></i>&nbsp&nbsp停用&nbsp
							</button>
							<button type="button" class="btn btn-success" ng-click="enable(item.id)" ng-if="item.settleStatus==0 && ops['O_SETTLE_STATUS_CTRL']">
								<i class="fa fa-unlock-alt"></i>&nbsp&nbsp启用&nbsp
							</button>
						</td>
					</tr>					
				</tbody>
			</table>
		</div>
	</div>
	<div class="defaultPage" ng-show="settleList== null">
		<img src="img/nodata.png" /> <span>暂无数据</span>
	</div>
	<uib-pagination total-items="pagerConf.totalItems" ng-model="pagerConf.currentPage" max-size="pagerConf.maxSize" first-text="第一页" previous-text="上一页" next-text="下一页" last-text="最后页" boundary-links="true"></uib-pagination>
</div>